package com.yulan.fastkillcourse.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.Version;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName("course_margin")
public class CourseMargin {

    @TableId(value = "cid", type = IdType.NONE)
    private Integer cid;
    private Integer margin;
    private Integer hot;
    private Integer score;
    @Version
    private Integer version;
}













